﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAdd.aspx.cs" Inherits="WISD.CarFriend.Web.Admin.Module.UserManage.UserAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
        <title>新增用户</title>
        <link rel="stylesheet" type="text/css" href="../../Content/CSS/ClientCSS/Style.css" />
        <script type="text/javascript" src="../../Scripts/CommonScripts/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" src="../../Scripts/CommonScripts/jquery.validate.min.js"></script>
        <script type="text/javascript" src="../../Scripts/CommonScripts/cursorfocus.js"></script>
        <script type="text/javascript" src="../../Scripts/CommonScripts/messages_cn.js"></script>
        <script type="text/javascript">
            $(function () {
                //表单验证JS
                $("#form1").validate({
                    //出错时添加的标签
                    errorElement: "span",
                    success: function (label) {
                        //正确时的样式
                        label.text(" ").addClass("success");
                    }
                });
            });
        </script>
    </head>
<body style="padding:10px;">
    <form id="form1" runat="server">
        <div class="navigation">
          <span class="back"><a href="UserList.aspx">返回列表</a></span><b>您当前的位置：首页 &gt; 用户管理 &gt; 新增用户</b>
        </div>
        <div style="padding-bottom:10px;"></div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
            <tr>
                <th colspan="2" align="left">新增用户</th>
            </tr>
              <tr>
                <td width="25%" align="right">登录帐号：</td>
                <td width="75%">
                <asp:TextBox ID="txtUserCode" runat="server" CssClass="input required" size="25" 
                    maxlength="50" minlength="1" HintTitle="登录帐号" HintInfo="登录帐号"></asp:TextBox>
                </td>
              </tr>
              <tr>
                <td align="right">登录密码：</td>
                <td>
                <asp:TextBox ID="txtPassword" runat="server" CssClass="input required" size="25" minLength="1" 
                    maxlength="50" HintTitle="登录密码" HintInfo="登录密码" 
                    TextMode="Password"></asp:TextBox>
                </td>
              </tr>
              <tr>
                <td align="right">确认密码：</td>
                <td>
                <asp:TextBox ID="txtPassword1" runat="server" CssClass="input required" size="25" minLength="1" 
                        maxlength="50" equalTo="#txtPassword" HintTitle="再次输入密码" HintInfo="再次输入密码。" 
                        TextMode="Password"></asp:TextBox>
                </td>
              </tr>
              <tr>
                <td width="25%" align="right">用户名：</td>
                <td width="75%">
                <asp:TextBox ID="txtUserName" runat="server" CssClass="input required" size="25" 
                    maxlength="50" minlength="1" HintTitle="用户名" HintInfo="用户名，用于在即时通信中显示人员列表。"></asp:TextBox>
                </td>
              </tr>
              <tr>
                <td align="right">是否禁用：</td>
                <td>
                    <asp:RadioButtonList ID="rblIsLock" runat="server" RepeatDirection="Horizontal" 
                        RepeatLayout="Flow">
                        <asp:ListItem Selected="True" Value="True">正常</asp:ListItem>
                        <asp:ListItem Value="False">锁定</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
              </tr>
              <tr>
                <td align="right">用户角色：</td>
                <td>
                    <asp:DropDownList ID="ddlRole" runat="server" >
                    </asp:DropDownList>
                </td>
              </tr>
              <tr>
                <td align="right">特约商户：</td>
                <td>
                    <asp:DropDownList ID="ddlShop" runat="server" >
                    </asp:DropDownList>
                </td>
              </tr>
        </table>
        <div style="margin-top:10px;text-align:center;">
            <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" 
                onclick="btnSave_Click" />&nbsp;
            <input name="重置" type="reset" class="submit" value="重置" />
        </div>
    </form>
</body>
</html>
